package cn.gov.ssxmzj.entry;

/**
 * 分页实体
 */
public class PageNews {

    private String code;
    private int count;
    private Object data;
    private String msg;

    public PageNews(){

    }

    public PageNews(int count, Object data) {
        this.count = count;
        this.data = data;
    }

    public PageNews(String code, int count, Object data, String msg) {
        this.code = code;
        this.count = count;
        this.data = data;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "PageNews{" +
                "code='" + code + '\'' +
                ", count=" + count +
                ", data=" + data +
                ", msg='" + msg + '\'' +
                '}';
    }
}
